﻿using AutoMapper;
using WYT.Ord.Application.Contracts.Dtos.Order;
using WYT.Ord.Repository.Entities;

namespace WYT.Ord.Application
{
    /// <summary>
    /// Map注册
    /// </summary>
    public class WYTOrdProfile : Profile
    {
        public WYTOrdProfile()
        {
            CreateMap<OrderGoods, OrderGoodsDetailDto>();
            CreateMap<Order, OrderDetailDto>();
            CreateMap<OrderGoods,OrderGoodsDto>();
        }
    }
}
